package de.gameduell.net.src.message {
	import flash.events.IEventDispatcher;
	
	import de.gameduell.net.src.body.IBody;
	import de.gameduell.net.src.header.IHeader;	

	/**
	 * @author GD
	 */
	public interface IMessage extends IEventDispatcher{
		function get content():String;
		function get encryptedContent():String;
		function get id():int;
		function set id(aId:int):void;
		function get body():IBody;
		function get header():IHeader;
		function get requestType():String;
		function get parameters():Array;	
		function set parameters(aParameters:Array):void;	
		function equals(message:IMessage):Boolean;
	}
}
